<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
%>
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title></title>
    <script type="text/javascript" src="<%=path %>/static/js/jquery.js"></script>
    <script type="text/javascript" src="js/js.js"></script>
    <link rel="stylesheet" type="text/css" href="css/css.css?v=1" />
</head>
<body style="">
   <form id="form1">
      <div style="position:relative">
         <img id="shareImg" />
         <div style="position:absolute;top:4.4rem;left:2.2rem;color:#fff;font-size:0.7rem;font-weight:bold;">${param.cashMoney}元</div>
         <div style="position:absolute;bottom:0.8rem;left:1.4rem;">
            <div style="position:relative;width:3.78rem;border:0.03rem solid #fc8279;border-radius:0.08rem;">
               <img id="HeadImg" src="images/app1.png" style="width:1rem;border-radius:50%;border:0.03rem solid #fc8279;position:absolute;left:-0.26rem;top:-0.1rem;" />
               <div style="margin-left:0.85rem;line-height:0.38rem;padding:0.04rem 0;">
                  <h3 id="NickName" style="color:#ffda48;font-size:0.24rem"></h3>
                  <div style="color:#fff;font-size:0.2rem">我刚刚又提现成功啦！钱已到手</div>
               </div>
            </div>
         </div>
      </div>
   </form>
   <script>
      $(function(){
         $.getJSON("<%=path %>/wechat/tool/getUser.htmls",{uid:"${param.uid}"},function(data){
            $("#HeadImg").attr("src",data.picUrl);
            $("#NickName").html(data.nickName);

            var link="http://"+window.location.host+"<%=path %>/app/invite_reg.jsp?inviter="+data.uid;

            $("#shareImg").attr("src","<%=path %>/wechat/tool/getCashQRcode.htmls?picurl=/app/images/cash_share.png&url="+encodeURIComponent(link));

            $("#shareImg").attr("style","width:100%;height:"+$(window).height()+"px");

         });

      });
   </script>
</body>
</html>
